import request from '@/utils/request'

// 登陆
export function login(data) {
  return request({
    url: '/forpc/register/login',
    method: 'post',
    data
  })
}

// 注册
export function register(data) {
  return request({
    url: '/forpc/register/register',
    method: 'post',
    data
  })
}

// 获取验证码
export function getVerificationCode(data) {
  return request({
    url: '/forpc/register/getVerificationCode',
    method: 'post',
    data
  })
}

// 个人中心-基本信息
export function getInformation(data) {
  return request({
    url: '/forpc/personalCenter/personal/getInformation',
    method: 'post',
    data
  })
}

export function getPurposeList(data) {
  return request({
    url: '/forpc/personalCenter/personal/getPurposeList',
    method: 'post',
    data
  })
}